//
//  CS_Pop_MultitpleSelectView.h
//  Pods
//
//  Created by 网新中研 on 17/3/31.
//
//

#import <CSUIKit/CSUIKit.h>

#define CELL_STYLE_MAIN_SELECTABLE_CELL @"MainSelectCell"

@interface MainSelectCell : UITableViewCell

@property (nonatomic, strong) CSSelectableModel *model;

/**
 *  选中时的颜色
 */
@property (nonatomic, strong) UIColor *selectedColor;

@property (strong, nonatomic) UIImageView *checkImageView;

@property (strong, nonatomic) UILabel *typeNameLabel;

@end

#define CELL_STYLE_SUB_SELECTALBE_CELL @"SubSelectCell"

@interface SubSelectCell : UITableViewCell

@property (nonatomic, strong) CSSelectableModel *model;

@property (strong, nonatomic) UIImageView *checkImageView;

@property (strong, nonatomic) UILabel *typeNameLabel;

@end

/**
 * 选择完成处理
 */
typedef void(^SelectedCompletedBlock)(NSString *resultNames, NSString *resultCodes);

@interface CS_Pop_MultitpleSelectView : CSBaseView

/**
 * 夺取多选框视图框
 * @param selectModels 选择项集合 要求类型为（SelectModle）
 * @param titleName 标题名称
 * @param selectCompletedHandler 选择完成回调处理
 */
+(instancetype)pop_multitpleSelectView:(NSArray *)selectableModels
                         titleName:(NSString *)titleName
            selectCompletedHandler:(SelectedCompletedBlock)selectCompletedHandler;

@end
